#pragma once 

#include <fstream>

namespace mkuz
{
    namespace io
    {
        class File
        {
        public:
            File(const std::string & path);
            
            bool Exist() const;
            void Read(char * data, size_t & size);
            void Write(const char * data, size_t size, bool append = false);
            
        private:
            std::string _path;
            std::fstream _stream;
        };
    }
}
